package Utils

import android.view.View

fun View.fadeIn(duration: Long = 500) {
    this.animate().alpha(1f).setDuration(duration)
}

fun View.fadeout(duration: Long = 500) {
    this.animate().alpha(0f).setDuration(duration)
}